package com.lujianfei.waterpower.ui.main;

import android.content.Context;

import java.util.List;

public interface MainContract {
    interface Model{

        List<MainEntity> getData();
    }
    interface View{

        void updateData(List<MainEntity> mainEntities);

        Context getContext();
    }
    interface Presenter{
        void loadData();

        void openPower();

        void openWater();
    }
}
